/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpr.tads.suck.model;


import java.util.Date;

/**
 *
 * @author ni_linda
 */
public class PainelDto {
    private int numero;
    private String nome;
    private Date datahr;
    private int situacao;

    public int getNumero() {
        return numero;
    }

    public void setNumero(int numero) {
        this.numero = numero;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public Date getDatahr() {
        return datahr;
    }

    public void setDatahr(Date datahr) {
        this.datahr = datahr;
    }

    public Date getTempoEspera() {
        return new Date(new Date().getTime() - datahr.getTime());
        // return datahr;
    }
    
    public int getSituacao() {
        return situacao;
    }

    public void setSituacao(int situacao) {
        this.situacao = situacao;
    }
}
